home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ Win2K GPO 1.xpl < prev    next >
Text File  |  1999-10-17  |  1KB  |  46 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="System\Security"
  5. "NAME"="Enable GPOs"
  6. "VERSION"="1.11"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Enable Group Policy Objects (GPOs) on this computer"
  9. "DESCRIPTION 1"="An administrator in a Windows 2000 network normally sets Group Policy Objects (GPOs) to control the computers in the network."
  10. "DESCRIPTION 2"="These settings include which items are displayed to the user, which changes the user is allowed to make and other settings."
  11. "DESCRIPTION 3"="If this setting is disabled, the computers will only receive policy from the Local Group Policy Object; that is, it will not receive policy from the domain. This capability is useful for stand-alone computers, for example, employees' home computers."
  12. "AUTHOR"="Xteq Systems"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  15.  
  16.  
  17. sP="HKLM\Software\Policies\Microsoft\Windows\System\"
  18. sV1="DisableGPO" 'RD
  19. Sub Plugin_Initialize 
  20.  If GetWinVer=4 then
  21.     i=RegReadValue(sP & sV1)
  22.     if i<>1 then SetUIElement 1,true
  23.  else
  24.     Call Disable()
  25.  end if
  26. End Sub
  27.  
  28. Sub Plugin_CheckData(ElementIndex)
  29. End Sub
  30.  
  31. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  32.  b=GetUIElement(1)
  33.  if b=true then
  34.     Call RegWriteValue(sP & sV1,0,2) 
  35.  else
  36.     Call RegWriteValue(sP & sV1,1,2) 
  37.  end if
  38. End Sub
  39.  
  40.  
  41. Sub Plugin_Terminate 
  42. End Sub
  43.  
  44.  
  45.  
  46.